<!DOCTYPE html>
<html>
<head>
    <title>建成区公厕设置密度</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" v-model="q.name" @keyup.enter="query" placeholder="字典名称">
            </div>
            <a class="btn btn-default" @click="query">查询</a>
			<#if shiro.hasPermission("zjyx6:b100wcdensity:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("zjyx6:b100wcdensity:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("zjyx6:b100wcdensity:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">市辖区居住用地公厕数量</div>
                        <div class="col-sm-10">
                            <input type="text" name="residentialLandWc" id="residentialLandWc" class="form-control" v-model="b100WcDensity.residentialLandWc" placeholder="市辖区居住用地公厕数量"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">市辖区居住用地总面积</div>
                        <div class="col-sm-10">
                            <input type="text" name="residentialLandArea" id="residentialLandArea" class="form-control" v-model="b100WcDensity.residentialLandArea" placeholder="市辖区居住用地总面积"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">公共服务设施用地公测数量</div>
                        <div class="col-sm-10">
                            <input type="text" name="publicServiceFacilitiesWc" id="publicServiceFacilitiesWc" class="form-control" v-model="b100WcDensity.publicServiceFacilitiesWc" placeholder="公共服务设施用地公测数量"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">公共服务设施用地总面积</div>
                        <div class="col-sm-10">
                            <input type="text" name="publicServiceFacilitiesArea" id="publicServiceFacilitiesArea" class="form-control" v-model="b100WcDensity.publicServiceFacilitiesArea" placeholder="公共服务设施用地总面积"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">绿地与广场用地公厕数量</div>
                        <div class="col-sm-10">
                            <input type="text" name="greenlandWc" id="greenlandWc" class="form-control" v-model="b100WcDensity.greenlandWc" placeholder="绿地与广场用地公厕数量"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">绿地与广场用地总面积</div>
                        <div class="col-sm-10">
                            <input type="text" name="greenlandArea" id="greenlandArea" class="form-control" v-model="b100WcDensity.greenlandArea" placeholder="绿地与广场用地总面积"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">工业物流仓储用地公厕数量</div>
                        <div class="col-sm-10">
                            <input type="text" name="industryWc" id="industryWc" class="form-control" v-model="b100WcDensity.industryWc" placeholder="工业物流仓储用地公厕数量"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">工业物流仓储用地总面积</div>
                        <div class="col-sm-10">
                            <input type="text" name="industryArea" id="industryArea" class="form-control" v-model="b100WcDensity.industryArea" placeholder="工业物流仓储用地总面积"/>
                        </div>
                    </div>

											                    <div class="form-group">
                        <div class="col-sm-2 control-label">建成区公厕设置密度</div>
                        <div class="col-sm-10">
                            <input type="text" name="wcDensity" id="wcDensity" class="form-control" v-model="b100WcDensity.wcDensity" placeholder="建成区公厕设置密度"/>
                        </div>
                    </div>

											                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">文件路径</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" name="filepath" id="filepath" class="form-control" v-model="b100WcDensity.filepath" placeholder="文件路径"/>-->
                        <!--</div>-->
                    <!--</div>-->

											                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">录入人</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" name="creatby" id="creatby" class="form-control" v-model="b100WcDensity.creatby" placeholder="录入人"/>-->
                        <!--</div>-->
                    <!--</div>-->

											                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">录入时间</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" name="creatat" id="creatat" class="form-control" v-model="b100WcDensity.creatat" placeholder="录入时间"/>-->
                        <!--</div>-->
                    <!--</div>-->

											                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">上级部门</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" name="parentCode" id="parentCode" class="form-control" v-model="b100WcDensity.parentCode" placeholder="上级部门"/>-->
                        <!--</div>-->
                    <!--</div>-->

											                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">类型编码</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" name="typeCode" id="typeCode" class="form-control" v-model="b100WcDensity.typeCode" placeholder="类型编码"/>-->
                        <!--</div>-->
                    <!--</div>-->

											                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">更新时间</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" name="updateTime" id="updateTime" class="form-control" v-model="b100WcDensity.updateTime" placeholder="更新时间"/>-->
                        <!--</div>-->
                    <!--</div>-->

							            <div class="form-group">
                <div class="col-sm-2 control-label">数据文件上传</div>
                <div class="col-sm-10">
                    <input type="file" name="file" id="form_file" multiple="multiple" accept=".pdf,.xls,.xlsx,.docx,.doc" class="form-control"
                           placeholder="原始数据文件"/>
                    <!--<input type="text" id="form_file_text" class="form-control" style="display :none" v-model="b100WcDensity.filepath" placeholder="原始数据文件"/>-->
                </div>

            </div>

            <div class="form-group" v-if="flag">
                <div class="col-sm-2 control-label">已上传文件</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="uploadfilename"  id="uploadfilename"  v-model="b100WcDensity.filepath" placeholder=""/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..." @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/libs/bootstrapValidator.min.js"></script>
<script src="${request.contextPath}/statics/libs/zh_CN.js"></script>
<script src="${request.contextPath}/statics/libs/fileinput.min.js"></script>
<script src="${request.contextPath}/statics/libs/zh.js"></script>
<script src="${request.contextPath}/statics/js/modules/zjyx6/b100wcdensity.js?_${.now?long}"></script>
</body>
</html>